package com.hll.service;

import com.hll.mapper.UserMapper;
import com.hll.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hll
 * @create 2022-05-14 17:20
 */
@Service
public class UserService {
  @Autowired private UserMapper userMapper;

  public List<User> getAllUsers() {
    return userMapper.getAllUsers();
  }
}
